package eiisan.service.user.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author gragonfly
 * @date 2019/7/11
 **/
@Data
public class PermissionDTO {

    /**
     * 权限ID
     */
    @ApiModelProperty(value = "权限ID")
    private Long id;

    /**
     * 类型 1:GET 2:POST 3:DELETE 4:PUT
     */
    @ApiModelProperty(value = "类型 1:GET 2:POST 3:DELETE 4:PUT")
    private Byte type;

    /**
     * 权限名称
     */
    @ApiModelProperty(value = "权限名称")
    private String name;

    /**
     * 地址
     */
    @ApiModelProperty(value = "地址")
    private String url;

    /**
     * 描述
     */
    @ApiModelProperty(value = "描述")
    private String description;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
}
